home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 8
/
Night Owl CD-ROM (NOPV8) (Night Owl Publisher) (1993).ISO
/
034a
/
aecur101.arj
/
CONTRIB
/
CURSES
/
SRC
/
CORNERCH.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-08
|
752b
|
39 lines
/*----------------------------------------------------------------------
*
* cornerchar.c
*
* copyright (c) 1987,88,89,90 J. Alan Eldridge
*
* returns the correct corner character
*
* cornerchar(n,v,h)
*
* v & h are 0 for single line, 1 for double,
* n is location as per the following diagram:
*
* 0 1
*
* 3 2
*
* SEE ALSO: teechar.c, line.c
*
*----------------------------------------------------------------------
*/
#include "curses.h"
int
cornerchar(n, v, h)
int n, v, h;
{
static UCHAR cchars[][2][2] = {
218, 213, 214, 201,
191, 184, 183, 187,
217, 190, 189, 188,
192, 212, 211, 200
};
return cchars[n][v][h];
}